import request from '@/utils/request'

// 查询
export function listLog(query) {
  return request({
    url: '/xxl-job-admin/log/list',
    method: 'get',
    params: query
  })
}

// 终止任务
export function Stoptask(query) {
  return request({
    url: '/xxl-job-admin/log/logKill',
    method: 'post',
    // data: data
    params: query
  })
}

// 清理日志
export function CleanLog(query) {
  return request({
    url: '/xxl-job-admin/log/clearLog',
    method: 'post',
    // data: data
    params: query
  })
}
